﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>操作日志</title>
    <link href="../../../Scripts/easyUI145/themes/icon.css" rel="stylesheet" type="text/css" />
    <link href="../../../Scripts/easyUI145/themes/default/easyui.css" rel="stylesheet" type="text/css" />
    <link href="../../../../DataUser/Style/ccbpm.css" rel="stylesheet" type="text/css" />
    <script src="../../../Scripts/easyUI145/jquery.min.js" type="text/javascript"></script>
    <script src="../../../Scripts/easyUI145/jquery.easyui.min.js" type="text/javascript"></script>
    <script src="../../../Scripts/QueryString.js" type="text/javascript"></script>
    <script src="../../../Scripts/config.js" type="text/javascript"></script>
    <script src="../../../Scripts/QueryString.js" type="text/javascript"></script>
    <script src="../../../Comm/Gener.js" type="text/javascript"></script>
    <script src="DDLBar.js" type="text/javascript"></script>
    <script src="../../EnumLab.js"></script>
    <script src="../../../Admin/Admin.js"></script>

    <script type="text/javascript">
        $(function () {
            //  InitBar(0);
            InitBar("QRCodeAddDict");
        });

        function Save() {

            var name = $("#TB_Name").val();
            if (name == undefined || name == null || name == "") {
                alert("请输入名称.");
                return;
            }

            $("#Msg").html("正在创建,请稍后......");

            //更新节点表单类型.
            var moduleNo = GetQueryString("ModuleNo");
            var en = new Entity("BP.CCFast.CCMenu.Menu");
            en.ModuleNo = moduleNo;
            en.Name = name;
            en.MenuModel = "QRCodeAddDict"; //扫面二维码填报.
            //en.Icon = "icon-control-play";
            en.Icon = "icon-frame";
            en.Insert();
            en.IsEnable = 1;

            en.UrlExt = "./OptEns/QRCodeAddDict.htm?FrmID=" + en.FrmID + "&MenuNo=" + en.No;
            en.Update();

            //   alert("创建成功，请关闭窗口，该菜单");
            //window.close();
            var url = "../../../Comm/En.htm?EnName=BP.CCFast.CCMenu.Menu&No=" + en.No;
            SetHref(url);
        }

    </script>
</head>
<body>
    <div id="bar">
    </div>

    <fieldset>
        <legend>操作日志 </legend>
        <ul>
            <li>标签：<input type="text" value="扫码填报" id="TB_Name" name="TB_Name" /> </li>
        </ul>

        <div id="Msg"></div>
        <legend>帮助 </legend>
        <ul>
            <li>类似与数据库的备份</li>
            <li>可以在一定的事件对当前的实体进行数据备份，可以恢复到数据到指定的数据备份。</li>
            <!--<li><img src="DictLog.png" /></li>-->
        </ul>
    </fieldset>

</body>
</html>
